<?php
	session_start();

	if (!session_is_registered($_POST["reg_uname"])) {
		echo "<meta http-equiv=\"refresh\" content=\"0; url=index.html\">";
		echo "Klik <a href=\"index.html\">disini</a> apabila browser anda berhenti berjalan ...";
		exit;
	}
	if (!session_is_registered($_POST["reg_level"])) {
		echo "<meta http-equiv=\"refresh\" content=\"0; url=index.html\">";
		echo "Klik <a href=\"index.html\">disini</a> apabila browser anda berhenti berjalan ...";
		exit;
	}
	if (!session_is_registered($_POST["reg_jurusan"])) {
		echo "<meta http-equiv=\"refresh\" content=\"0; url=logout.html\">";
		echo "Klik <a href=\"logout.html\">disini</a> apabila browser anda berhenti berjalan ...";
		exit;
	}

	$reg_uname=$_SESSION["reg_uname"];
	$reg_level=$_SESSION["reg_level"];
	$reg_jurusan=$_SESSION["reg_jurusan"];
?>
<script type="text/javascript"language="JavaScript1.2" src="rightclick.js"></script>